package com.ocom.app.feignclient;

import com.ocom.common.constant.CompanyServiceUrl;
import com.ocom.common.dto.UnitsPageModifyDto;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "webapi")
public interface WebApiFeignClient {

    @PostMapping(CompanyServiceUrl.URL_UserPageModify)
    Result UserPageModify(@Validated @RequestBody UnitsPageModifyDto unitsPageModifyDto);

}
